package models
type SystemKnowledgeLevel struct {
	Id           int `json:"id" xorm:"not null pk autoincr comment('主键') INT(11)"`
	KnowledgeId int `json:"knowledge_id" xorm:"not null comment('知识点ID主键') INT(11)"`
	LevelId int `json:"level_id" xorm:"not null comment('阶段主键')  INT(11)"`
}
var systemknowledgelevel ="system_knowledge_level"

func(s *SystemKnowledgeLevel) GetRow() bool {
	has, err := mEngine.Get(s)
	if err==nil &&  has  {
		return true
	}
	return false
}

